package controller

import "github.com/gin-gonic/gin"

type HelloController struct {

}
func (hello HelloController) Router(engine *gin.Engine){
	engine.GET("/hello",hello.Hello)
}
// 解析 /hello 的请求
func (hello HelloController) Hello(Context *gin.Context){
	Context.JSON(200,map[string]interface{}{
		"messafe":"hello controller",
	})
}